package com.ywk.pattern._14_observer._14_4;


public class StockObserver extends Observer {


    public StockObserver(String name, Subject sub) {
        super(name, sub);
    }

    @Override
    public void Update() {
        System.out.println(super.getSub().SubjectState + super.getName() + "�رչ�Ʊ����������");
    }


}
